package com.alibaba.aliper.remote.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

import com.alibaba.aliper.remote.transport.ITransport;

public class FrantendProxy implements InvocationHandler {

	public FrantendProxy(ITransport transporter) {
		this.transporter = transporter;
	}

	private ITransport transporter = null;

	@SuppressWarnings("unchecked")
	public <T> T proxy(Class<T> type) {
		return (T)java.lang.reflect.Proxy.newProxyInstance(getClass().getClassLoader(), new Class<?>[]{type}, this);
	}						

	@Override
	public Object invoke(Object proxy, Method method, Object[] args)
			throws Throwable {
		return null;
	}

}
